package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.settlement.system.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
        import java.math.BigDecimal;

/**
* <p>
* 百盛退货明细表
* </p>
*
* @author huangrensen
* @since 2024-09-06
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BsOmsReturnOrderDetail extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * ID
    */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    /**
    * 订单ID
    */
    private String oId;


    /**
    * 售后分类
    */
    private String orderType;


    /**
    * 商品编码
    */
    private String skuId;


    /**
    * 线上子订单编号
    */
    private String outerOiId;


    /**
    * 申请数量
    */
    private Integer qty = 0;


    /**
    * 退货数量
    */
    private Integer rQty = 0;


    /**
    * 线上明细金额
    */
    private BigDecimal shopAmount = BigDecimal.ZERO;


    /**
    * 单价
    */
    private BigDecimal price = BigDecimal.ZERO;


    /**
    * 申请金额
    */
    private BigDecimal amount = BigDecimal.ZERO;


    /**
    * 是否赠品
    */
    private String isGift;


    /**
    * 商品品牌
    */
    private String brand;

}
